Getting the location of the `.bat` file from within it

Posted by cool-RR on Stack Overflow See other posts from Stack Overflow or by cool-RR
Published on 2010-05-27T11:20:33Z Indexed on 2010/05/27 11:31 UTC
Read the original article Hit count: 108

Filed under:
|

I'm writing a .bat script for Windows. Is there any command that I can use within the script to retrieve the directory that the script is in?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about bat